home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Info-Mac 4
/
Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso
/
Science
/
RLaB
/
help
/
int
< prev
next >
Wrap
Text File
|
1994-04-25
|
369b
|
21 lines
int:
Syntax: int ( a )
Description:
Int returns it's argument after it has been "cast" to an
integer. If the argument is a MATRIX then the int operation is
performed on an element-by-element basis.
int() has the effect of truncating the input, for example:
> int(1.1)
1
> int(1.5)
1
> int(1.999)
1
See Also: ceil, floor